<!DOCTYPE html>
<html lang="en">
<head>
	<?php $this->load->view('common/head');?>
	<!-- 本页面所有 -->
    <meta name="keywords" content="特殊教育，家庭，特殊儿童，早期干预，AEPS，个别教育计划，评估">
	<meta name="description" content="七维提供的个人及家庭服务旨在遵循儿童成长规律，掌握个体差异，帮助家长真正做到因材施教，促进儿童能力发展；同时推动家长改善教育方式，系统掌握家庭教育的科学理念与实践方式。">
	<title>七维教育—软件产品</title>
	<!-- 导入自定义字体 -->
	<link rel="stylesheet" href="/assets/css/iconfont.css">
    <script type="text/javascript" src="/assets/js/soft-list.js?V=1"></script>
    <style>
        #bannerTip{
            position: absolute;
            left: 20%;
            right: 20%;
            bottom: 15%;
        }
        .banner-tip-title{
            color: #454545;
            font-size: 38px;
            font-weight: bold;
            margin-bottom: 34px;
            display: flex;
        }
        .banner-tip-tm{
            color: #919191;
            font-size: 12px;
            font-weight: bold;
            margin-left:14px;
        }
        .banner-tip-version-wrapper{
            margin-top: 6px;
            margin-bottom: 40px;
        }
        .banner-tip-version {
            color: #454545;
            font-size:16px;
            font-weight: bold;
            margin-right: 28px;
        }
        .content{
            width: 1200px;
            padding-top: 140px;
            padding-bottom: 80px;
            margin-left: auto;
            margin-right: auto;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
        }
        .soft-item{
            width: 545px;
            height: 665px;
            border-width: 5px;
            border-style: solid;
            border-color: #ededee;
            margin-bottom: 60px;
            position: relative;
        }
        .mr-86{
            margin-right: 86px;
        }
        .soft-img{
            width: 545px;
            height: 368px;
            position: relative;
        }
        .soft-more{
            height: 368px;
            position: absolute;
            top:0;
            left: 0;
            right: 0;
            align-items: center;
            justify-content: center;
            background-color: rgba(35,24,21,0.1);
            display: none;
        }
        .soft-item:hover .soft-more{
            display: flex;
        }
        .soft-title{
            margin-top: 55px;
            font-size: 26px;
            color: #454545;
            font-weight: bold;
            margin-left: 48px;
            margin-right: 48px;
            display: flex;
            align-items: flex-start;
        }
        .soft-title-tm{
            color: #919191;
            font-size: 8px;
            font-weight: bold;
            margin-left: 10px;
            margin-right: 10px;
        }
        .soft-desc{
            color: #919191;
            font-size:20px;
            line-height: 28px;
            margin-top:35px;
            margin-left: 48px;
            margin-right: 48px;
        }
    </style>
</head>
<body>
	<div id="header" class="header">
		<?php $this->load->view('common/header');?>	
	</div>
	<div id="app" class="container">
		<div id="fullpage" class="banner">
            <img :src="bannerSoft.img" :alt="bannerSoft.title">
            <div id="bannerTip">
                <div class="banner-tip-title">
                    七维<span class="banner-tip-tm">TM</span>
                </div>
                <div class="banner-tip-title">{{bannerSoft.title}}</div>
<!--                <div class="banner-tip-version-wrapper">-->
<!--                    <span v-for="version in bannerSoft.versions" class="banner-tip-version">{{version}}</span>-->
<!--                </div>-->
                <div class="btn-black" @click="goSoftware(0)">了解更多</div>
            </div>
		</div>
		<div class="content">
            <div v-for="(soft,index) in softList" v-if="index>0" :class="'soft-item '+(index%2?'mr-86':'')">
                <img :src="soft.img" class="soft-img" :alt="soft.title">
                <div class="soft-more">
                    <button class="btn-black" @click="goSoftware(index)">了解更多</button>
                </div>
                <div class="soft-title">
                    <div>
                        七维
                    </div>
                    <div class="soft-title-tm">
                        TM
                    </div>
                    <div>
                        {{soft.title}}
                    </div>
                </div>
                <div class="soft-desc">
                    {{soft.desc}}
                </div>
            </div>
		</div>	
	</div>
	<div class="footer">
		<?php $this->load->view('common/footer');?>	
	</div>
	<script>
		$(function () {
			resizeBanner();
			$(window).resize(function() {
  				resizeBanner();
			});

			new Vue({
			    el:'#app',
                data:{
			        bannerSoft: softList[0],
                    softList: softList,
                },
                methods: {
			        goSoftware:function(index){
			            location.href="/software/detail?index="+index;
                    }
                }
            })

            function resizeBanner () {
                var hHeader = $("#header").height();
                var hDocument = $(window).height();
                var hFullpage = hDocument - hHeader;
                $("#fullpage").height(hFullpage);
            }
		})
	</script>
</body>
</html>
